﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Bll;

namespace StockServer
{
    public partial class UserEdit : Form
    {
        ClientUser cur = new ClientUser();
       
        public UserEdit()
        {
            InitializeComponent();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            AddUser au = new AddUser();
            au.Show();
            this.dgvUserInfo.DataSource = cur.getCustomer().Tables[0].DefaultView;
        }

        private void UserEdit_Load(object sender, EventArgs e)
        {
            this.dgvUserInfo.DataSource=cur.getCustomer().Tables[0].DefaultView;
        }
    }
}